<!DOCTYPE html>
<html>
	<head>
		<title><%= full_title(yield(:page_title)) %></title>
		<%= stylesheet_link_tag "application", media: "all" %>
		<%= javascript_include_tag "application" %>
		<%= csrf_meta_tags %>
		<%= render 'layouts/shim' %>
		<%= favicon_link_tag%>
		<script type="text/javascript">
          window.I18n = <%= current_translations.to_json.html_safe %>
        </script>
	</head>
	<body>
		<%= render 'layouts/header' %>
		<div class="container">
		    <%= render 'layouts/messages' %>
			<%= yield %>
			<%= render 'layouts/footer' %>
			<%= debug(params) if Rails.env.development? %>
		</div>
	</body>
</html>